<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SentCMS后台管理系统</title>
<meta name="description" content="这是一个 index 页面">
<meta name="keywords" content="index">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<link href="__ROOT__/Public/favicon.ico" type="image/x-icon" rel="shortcut icon">
<link rel="stylesheet" href="__PUBLIC__/amazeui/css/amazeui.min.css"/>
<link rel="stylesheet" type="text/css" href="__CSS__/style.css" media="all">
<link rel="stylesheet" type="text/css" href="__CSS__/common.css" media="all">
<!--[if lt IE 9]>
<script type="text/javascript" src="__PUBLIC__/jquery-1.10.2.min.js"></script>
<![endif]--><!--[if gte IE 9]><!-->
<script type="text/javascript" src="__PUBLIC__/jquery.min.js"></script>
<script type="text/javascript" src="__JS__/jquery.mousewheel.js"></script>
<script type="text/javascript" src="__PUBLIC__/core.js"></script>
<!--<![endif]-->
<block name="style"></block>
</head>
<body>
<!-- 头部 -->
<header class="am-topbar admin-header am-topbar-fixed-top">
	<div class="am-topbar-brand"> <strong>SentCMS</strong>
		<small>后台管理系统</small>
	</div>

	<button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}">
		<span class="am-sr-only">导航切换</span>
		<span class="am-icon-bars"></span>
	</button>

	<div class="am-collapse am-topbar-collapse" id="topbar-collapse">

		<ul class="am-nav am-nav-pills am-topbar-nav am-padding-left admin-header-list">
		<volist name="__MENU__.main" id="menu">
			<neq name="menu.hide" value="1">
			<li data-id="{$menu.id}" class="{$menu.class|default=''}">
				<a href="{$menu.url|U}">
					<neq name="menu.icon" value=""> <i class="am-icon am-icon-{$menu.icon}"></i>&nbsp;</neq>
					{$menu.title}
				</a>
			</li>
			</neq>
		</volist>
		</ul>
		<ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
			<!-- <li>
				<a href="javascript:;">
					<span class="am-icon-envelope-o"></span>
					收件箱
					<span class="am-badge am-badge-warning">5</span>
				</a>
			</li> -->
			<li class="am-dropdown" data-am-dropdown>
				<a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
					<span class="am-icon-users"></span>
					{:session('user_auth.username')}
					<span class="am-icon-caret-down"></span>
				</a>
				<ul class="am-dropdown-content">
					<li><a href="{:U('User/updatePassword')}"><span class="am-icon-cog"></span> 修改密码</a></li>
					<li><a href="{:U('User/updateNickname')}"><span class="am-icon-user"></span> 修改昵称</a></li>
					<li><a href="{:U('Public/logout')}"><span class="am-icon-power-off"></span> 退出</a></li>
				</ul>
			</li>
			<li>
				<a href="index.php" target="_blank">
					<span class="am-icon-home"></span>
					首页
				</a>
			</li>
			<li class="am-hide-sm-only">
				<a href="javascript:;" id="admin-fullscreen">
					<span class="am-icon-arrows-alt"></span>
					<span class="admin-fullText">开启全屏</span>
				</a>
			</li>
		</ul>
	</div>
</header>
<!-- /头部 -->

<div class="am-cf admin-main">

	<!-- 边栏 -->
	<!-- sidebar start -->
	<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
		<div class="am-offcanvas-bar admin-offcanvas-bar">
			<ul class="am-list admin-sidebar-list">
				<block name="sidebar">
				<notempty name="_extra_menu">
				{// 动态扩展菜单 //}
				{:extra_menu($_extra_menu,$__MENU__)}
				</notempty>
				<volist name="__MENU__.child" id="sub_menu">
				<!-- 子导航 -->
				<notempty name="sub_menu">
				<li class="admin-parent">
					<a class="am-cf" data-am-collapse="{ target: '#collapse-nav-{$key}' }">
						<span class="am-icon-list-ul"></span>
						<notempty name="key">{$key}</notempty>
						<span class="am-icon-angle-right am-fr am-margin-right"></span>
					</a>
					<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav-{$key}">
					<volist name="sub_menu" id="menu">
						<li>
							<a href="{$menu.url|U}" class="am-cf">
								<i class="am-icon <if condition="$menu['icon']">am-icon-{$menu.icon}<else/>am-icon-file-text</if>"></i>
								{$menu.title}
								<!-- <span class="am-icon-star am-fr am-margin-right admin-icon-yellow"></span> -->
							</a>
						</li>
					</volist>
					</ul>
				</li>
				</notempty>
				</volist>
				</block>
			</ul>

			<div class="am-panel am-panel-default admin-sidebar-panel">
				<div class="am-panel-bd">
					<p><span class="am-icon-bookmark"></span> 公告</p>
					<p>时光静好，与君语；细水流年，与君同。</p>
					<p class="am-text-right">—— SentCMS</p>
				</div>
			</div>
		</div>
	</div>
	<!-- sidebar end -->
	<!-- /边栏 -->

	<!-- 内容区 -->
	<div class="admin-content">
		<block name="nav">
			<!-- nav -->
			<notempty name="_show_nav">
				<ol class="am-breadcrumb">
				<assign name="i" value="1"/>
				<foreach name="_nav" item="v" key="k">
					<if condition="$i eq count($_nav)">
						<li class="am-active">{$v}</li>
						<else/>
						<li><a href="{$k}">{$v}</a></li>
					</if>
					<assign name="i" value="$i+1"/>
				</foreach>
				</ol>
			</notempty>
			<!-- nav -->
		</block>
		<div id="top-alert" class="fixed alert alert-error" style="display: none;">
			<button class="close fixed" style="margin-top: 4px;">&times;</button>
			<div class="alert-content">这是内容</div>
		</div>
		<block name="body"></block>
	</div>

</div>

<a class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>

<footer class="footer am-topbar-fixed-bottom">
	<hr>
	<p class="am-padding-left">© 2014 TenSent, Inc. 南昌腾速科技.</p>
</footer>
<!-- /内容区 -->
<script type="text/javascript" src="__PUBLIC__/amazeui/js/amazeui.min.js"></script>
<script type="text/javascript">
(function(){
	var ThinkPHP = window.Think = {
	"ROOT"   : "__ROOT__", //当前网站地址
	"APP"    : "__APP__", //当前项目地址
	"PUBLIC" : "__PUBLIC__", //项目公共目录地址
	"DEEP"   : "{:C('URL_PATHINFO_DEPR')}", //PATHINFO分割符
	"MODEL"  : ["{:C('URL_MODEL')}", "{:C('URL_CASE_INSENSITIVE')}", "{:C('URL_HTML_SUFFIX')}"],
	"VAR"    : ["{:C('VAR_MODULE')}", "{:C('VAR_CONTROLLER')}", "{:C('VAR_ACTION')}"]
	}
})();
</script>
<script type="text/javascript" src="__PUBLIC__/think.js"></script>
<script type="text/javascript" src="__JS__/common.js"></script>
<script type="text/javascript">
/* 左边菜单高亮 */
url = window.location.pathname + window.location.search;
url = url.replace(/(\/(p)\/\d+)|(&p=\d+)|(\/(id)\/\d+)|(&id=\d+)|(\/(group)\/\d+)|(&group=\d+)/, "");
</script>
<block name="script"></block>
</body>
</html>